package com.qianye.mapper;

import ch.qos.logback.classic.spi.STEUtil;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianye.entity.Expressinfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExpressInfoMapper extends BaseMapper<Expressinfo> {
    List<Expressinfo> addresseeAll(String username);
    List<Expressinfo> findAllExpress(@Param("express_owner_name") String express_owner_name,
                                     @Param("express_sender_name") String express_sender_name,
                                     @Param("express_owner_address")String express_owner_address,
                                     @Param("yname") String yname,
                                     @Param("yphone")String yphone);
    List<Expressinfo> findAllExpressReject();
}
